﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RooHui.Infrastructure.Entities.Entity;
using RooHui.Tool;

namespace RooHui.OA.Biz
{
    public class ProcessStepDoingBiz
    {
        /// <summary>
        /// 获取待办理审批的条件选择
        /// </summary>
        /// <param name="projectID"></param>
        /// <returns></returns>
        public static List<ProcessStepDoing> GetProcessStepDoingList(int projectID,int processID)
        {
            try
            { 
                 
                var processStepDoings = new ProcessStepDoing().FindAll(c => c.ProjectID == projectID && c.CurrentProcessID == processID);
                return processStepDoings;
            }
            catch (Exception ex)
            {
                LogHelper.Write(CommonLogger.Web, ex);
            }
            return null;
        }


    }
}
